import request from '/@/utils/request';

// 获取近一个月的血压变化情况
export const getMonthlyPressureData = (params:object) =>{
  return request({
    url: '/patient/persureHeartRate/monthlyPressureData',
    method: 'get',
    params,
  })
}

// 获取最近一个月的心率变化情况
export const getMonthLyHeartRateData = (params: object) => {
  return request({
    url: '/patient/heartRateLogs/monthly_heart_rate_data',
    method: 'get',
    params,
  })
}